package com.mushuilingfeng.ddd.user.domain.user.repository;

import com.mushuilingfeng.ddd.framework.repository.IDomainRepository;
import com.mushuilingfeng.ddd.user.domain.user.entity.RegisterInviteCode;

/**
 * @author 沐水淋风
 * @date 2024/10/7
 */
public interface IRegisterInviteCodeRepository extends IDomainRepository<RegisterInviteCode> {
    
    RegisterInviteCode findByInviteCode(String inviteCode);
    
    void updateRegisterUser(Long id, Long registerUserId);
    
}
